<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <title>天天老友</title>
</head>

<body>
  <a style="display:block" id="openApp" href="ttlaoyouapp://note">打开app </a><br />
  <a style="display:none" href="intent://note #Intent;scheme=ttlaoyouapp;package=ttlaoyou.com;S.browser_fallback_url=https%3A%2F%2Fwww.baidu.com;end">打开app
    by Intent</a><br />
</body>
<script>
  var dom = document.getElementById("openApp")

  setTimeout(function () {
    window.location = "ttlaoyouapp://note"
    dom.click()
  }, 2000)

</script>

</html>
